package com.shishuo.cdn.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.shishuo.cdn.entity.ContractType;
import com.shishuo.cdn.entity.User;
import com.shishuo.cdn.entity.Contract;

public interface ContractDao {
	public ContractType getContractTypeByType(String type);
	
	public int addContract(Contract contract);
	public List<Map<String,Object>> queryContractInfo(Map<String, Object> paramMap);
    public Contract getContractById(String Id);
    public int signContract(String Id);
    public int concelContract(String Id);
    public String queryContractContent(String type);
    public int queryContractCount(Map<String, Object> paramMap);

}
